package com.xiyu.service.repository.market.template;

import com.xiyu.service.model.market.template.MarketTemplateResource;
import com.xiyu.service.model.market.template.MarketTemplateResourceTable;
import org.babyfish.jimmer.spring.repository.JRepository;

import java.util.List;

public interface MarketTemplateResourceRepository extends JRepository<MarketTemplateResource, Long> {
    MarketTemplateResourceTable marketTemplateResourceTable = MarketTemplateResourceTable.$;

    List<MarketTemplateResource> findByTemplateIdAndResourceType(Long templateId, Integer resourceType);

}